package com.lkk.cg.service;

import com.lkk.cg.base.DaoSupport;
import com.lkk.cg.domain.Article;
import com.lkk.cg.domain.User;

import java.util.List;

/**
 * Created by lkk on 2014/12/14.
 */
public interface ArticleService extends DaoSupport<Article> {
    List<Article> getByAuthor(User currentUser);

    Long countTodayPost();

    Long countTodayDownload();

    Long countTotalPost();

    Long countTotalDownload();

    List<Article> getMostDownload();

    List<Article> getLastedAdded();

}
